package com.njtoyo.taxi.admin.service.marketing;

import com.njtoyo.taxi.admin.rest.wrapper.marketing.seckill.CreateWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.marketing.seckill.SeckillListWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.marketing.seckill.UpdateIsOffineUpdateSeckillWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.marketing.seckill.UpdateSeckillWrapper;
import com.taxi.entity.common.RestResult;

public interface SeckillService {

    RestResult getList(SeckillListWrapper seckillListWrapper);

    RestResult delete(Long id);

    RestResult create(CreateWrapper createWrapper);

    RestResult update(Long id, UpdateSeckillWrapper updateSeckillWrapper);

    RestResult updateIsOfflineUpdate(Long id, UpdateIsOffineUpdateSeckillWrapper updateIsOffineUpdateSeckillWrapper);
}
